
package com.taotao.rpc.simple.sofabolt;

import com.alipay.remoting.BizContext;
import com.alipay.remoting.rpc.protocol.SyncUserProcessor;
import com.taotao.job.rpc.invoker.caller.RequestData;
import com.taotao.job.rpc.invoker.caller.ResponseData;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class SimpleServerUserProcessor extends SyncUserProcessor<RequestData> {

    private static final Logger logger         = LoggerFactory.getLogger(SimpleServerUserProcessor.class);



    @Override
    public Object handleRequest(BizContext bizCtx, RequestData request) throws Exception {
        return new ResponseData(ResponseData.CODE_SUCCESS,"fafaf",null);
    }

    @Override
    public String interest() {
        return RequestData.class.getName();
    }





}